{% extends 'ApiCloud/Base/layout.common.html.twig' %}

{% block main %}
    {% include "ApiCloud/Base/inc.head.light.html.twig" with {title:"消息中心",back:1} %}
    <div class="fs8 bc13">
                <div class="mar2 pad5" v-for="item in list" @click="goto('newsInfo',{id:item.id})">
{#                    <div class="flrc">#}
{#                        #}
{#                    </div>#}
                    <div class="mart5 bcf round5  pad3">
                        <div class="c11 bdbso padl5 lh2 padr5 padt3 padb3 fs9 w100 ofe">
                            <span class="fwb"> [ [[item.cat.name]] ] </span>
                            <span class="padl5 padt3 ofe">[[item.title]]</span>
                        </div>
                        <div class="pad5">
{#                            [[item.content]]#}
                            <div v-html="item.content"></div>
                        </div>
                        <div class="fs8 padlr9 padtb2 bcf c12 round2 round30 tar">
                            [[str2time(item.createAt)]]
                        </div>
                    </div>
                </div>
    </div>
{% endblock %}
